package com.example.xitong;


import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;


public class tuijian extends Fragment {

    Button b7;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
       View view = inflater.inflate(R.layout.fragment_tuijian, container, false);
       b7=view.findViewById(R.id.button7);
       b7.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               b7.setText("已关注");
           }
       });


        return view;
    }


}